
layui.use('table',function(){


     $ = layui.jquery;
    var table = layui.table;



    //用户列表
    var tableIns=table.render({

        elem: '#orderInfo',
        url : '/sharepark/community/order',
        page : true,
        height : "full-40",
        limits : [12,24,36,48],
        limit : 12,
        id : "orderInfo",
        text:{none:'暂无相关数据'},
        cols : [[
            {type: "checkbox", fixed:"left", width:50},
            {field: 'oNumber', title: '订单编号', sort:true, align:"center"},
            {field: 'oTime', title: '开始时间', sort:true, align:"center"},
            {field: 'oEndtime', title: '结束时间', sort:true, align:"center"},
            {field: 'oStatus', title: '订单状态', sort:true, align:"center"},
            {field: 'oTotalmoney', title: '消费金额', sort:true, align:"center"},
            {field: 'price', title: '物业方提成', sort:true, align:'center',templet: '<div>{{d.oTotalmoney*d.sCommunity}}</div>' },
        ]]
    });


})
